class ArticleLog < ApplicationRecord
	belongs_to :article
	max_paginates_per 100

	def restore
		self.article.update(:title => self.title, :content => self.content)
	end	
end
